﻿<!doctype html>
<html>
<head>
	<meta charset="utf-8" />
	<title>优化橱窗报表</title>
    <link href="css/mycss.css" rel="stylesheet" type="text/css">
    <link href="http://docs.kissyui.com/kissy-gallery/gallery/grid/1.0/assets/grid.css" rel="stylesheet" type="text/css">
    <link href="http://a.tbcdn.cn/s/kissy/1.3.0/css/dpl/??base-min.css,badges-min.css,icons-min.css,labels-min.css,tables-min.css" rel="stylesheet" type="text/css">
    <link href="http://a.tbcdn.cn/s/kissy/1.3.0/??button/assets/dpl-min.css,calendar/assets/dpl-min.css,menu/assets/dpl-min.css,combobox/assets/dpl-min.css,menubutton/assets/dpl-min.css,overlay/assets/dpl-min.css,split-button/assets/dpl-min.css,tabs/assets/dpl-min.css,toolbar/assets/dpl-min.css,tree/assets/dpl-min.css" rel="stylesheet" type="text/css">
	<script src="http://a.tbcdn.cn/s/kissy/1.3.0/kissy.js" charset="utf-8"></script>
	<script type="text/javascript">
	KISSY.getScript("http://l.tbcdn.cn/apps/top/x/sdk.js?appkey="+KISSY.Cookie.get("appkey"));
	
	//包配置 
    KISSY.config({
      packages:[
          {
            name:"gallery",
            path:"http://a.tbcdn.cn/s/kissy/",
            charset:"utf-8"
          }
        ]
    });
    KISSY.use("gallery/kcharts/1.1/linechart/index",function(S,LineChart){
        var linechart = new LineChart({
            renderTo:"#demo1",
            title:{
                content:"最近1周上架统计",
                css:{}
            },
            anim:{},
            lineType: "arc",
            themeCls: "ks-chart-default",
            comparable: false,
            xAxis: {
                text:['星期一','星期二','星期三','星期四','星期五','星期六','星期日']
            },
            yAxis:{
                min:0
            },
            series:[{
                data:[{y:100,week:'星期一'},{y:400,week:'星期二'},{y:120,week:'星期三'},{y:234,week:'星期四'},{y:234,week:'星期五'},{y:234,week:'星期六'},{y:234,week:'星期日'}]
            }],
            defineKey:{
                x:"week",
                y:"y"
            },
            tip:{
                template:"上架次数：<span>{{y}}</span> 件<br/>"
            }
        });
    });
	</script>
</head>
<body>
	<!--主体内容-->
	<div id="content">
	    <!-- 功能描述 -->
	    <div style="padding: 20px 0px;">
	        <div class="ks-popup-inner">
	            <h3 class="ks-popup-title">优化橱窗报表</h3>
	            <div class="ks-popup-content">
	                <p>And here's some amazing content. It's very engaging. right?</p>
	            </div>
	        </div>
	    </div>
	    <!-- 优化橱窗报表-->
	    <div class="ks-chart-wrapper" id="demo1" style="height:400px">
        	<div class="loading">loading</div>
        </div>
	</div>
</body>
</html>
